import Vue from 'vue'
import App from './App.vue'
import router from './router'

import Vant from 'vant'
import 'vant/lib/index.css'

import api from './odooapi'

const baseURL = process.env.VUE_APP_BASE_API
const timeout = 50000

api.init({ isMobile: true, baseURL, timeout })

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router, // router
  render: h => h(App)
}).$mount('#app')
